Skip to content

fix(release): make sdist smoke check version-agnostic (unblock v1.0.1 publish)#29

Merged
tachyon-beep merged 1 commit into
mainfrom
v1.0.1/02-release-sdist-smoke
May 30, 2026
Merged

fix(release): make sdist smoke check version-agnostic (unblock v1.0.1 publish)#29
tachyon-beep merged 1 commit into
mainfrom
v1.0.1/02-release-sdist-smoke

Conversation

@tachyon-beep

Copy link
Copy Markdown
Collaborator

Why

The v1.0.1 release run failed at Build Python plugin sdistsmoke install sdist, which hardcoded assert clarion_plugin_python.__version__ == '1.0.0'. After the 1.0.1 bump the module reports 1.0.1, so the assertion failed and the Create GitHub Release job was skipped — even though both Rust binary legs (Linux x86_64 + macOS aarch64) built cleanly.

Fix

Assert the module version equals the installed distribution metadata version rather than a hardcoded literal. Version-agnostic, so a future bump can't silently break this gate, while still catching real module/packaging drift. Verified locally: fresh install → 1.0.1 == 1.0.1.

Refs clarion-12667da9f5. Unblocks re-cutting the v1.0.1 release.

🤖 Generated with Claude Code

The build-plugin sdist smoke step hardcoded
`assert __version__ == '1.0.0'`. After the 1.0.1 version bump this assertion
failed, so the sdist job errored and blocked the publish even though both Rust
binary legs (Linux + macOS aarch64) built cleanly — the v1.0.1 release run got
as far as artifact builds and then skipped Create-Release.

Assert the module constant equals the installed distribution metadata version
instead of a literal, so a release version bump can never silently break this
gate again while still catching module/packaging version drift.

Refs clarion-12667da9f5.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 30, 2026 08:16
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@tachyon-beep
tachyon-beep merged commit b005a38 into main May 30, 2026
4 of 5 checks passed
@tachyon-beep
tachyon-beep deleted the v1.0.1/02-release-sdist-smoke branch May 30, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants